<?php

namespace App\Kuafu\Brand\Enum;

use App\Kuafu\Base\Enum\BaseCodeEnum;

class BrandCodeEnum extends BaseCodeEnum
{
    //品牌模块-输入异常402XXX
    public const ERR_BRAND_NAME_NOT_EXIST = 402001;
    public const ERR_BRAND_ID_NOT_EXIST   = 402002;
    public const ERR_BRAND_NAME           = 402003;
    public const ERR_LOGO_NOT_EXIST       = 402004;
    public const ERR_UPDATE               = 402005;
    public const ERR_DELETED              = 402006;

    //品牌模块-系统异常502XXX

    public const CODE_TEXT = [
        self::ERR_BRAND_NAME_NOT_EXIST => '请填写品牌名字',
        self::ERR_BRAND_NAME           => '品牌名字不能超过10个汉字',
        self::ERR_LOGO_NOT_EXIST       => '请上传品牌Logo',
        self::ERR_UPDATE               => '修改失败,请稍后重试',
        self::ERR_DELETED              => '删除失败,请稍后重试',
    ];
}
